package com.thesis.manage.service.module.excel;

import com.github.crab2died.annotation.ExcelField;
import com.thesis.manage.service.utils.SexConverter;
import lombok.Data;

/**
 * @author php
 * @date 2018/1/18
 */
@Data
public class StudentExcel {
    /**
     * student_number 学号
     */
    @ExcelField(title = "学号", order = 1)
    private String studentNumber;

    /**
     * name 姓名
     */
    @ExcelField(title = "姓名", order = 2)
    private String name;


    /**
     * sex 性别
     */
    @ExcelField(title = "性别", order = 3, readConverter = SexConverter.class)
    private Integer sex;


    /**
     * idCard 身份证
     */
    @ExcelField(title = "身份证", order = 4)
    private String idCard;

    /**
     * phone 电话
     */
    @ExcelField(title = "电话", order = 5)
    private String phone;

    /**
     * 院系名称
     */
    @ExcelField(title = "学院", order = 6)
    private String collegeName;

    /**
     * 专业名称
     */
    @ExcelField(title = "专业", order = 7)
    private String majorName;

    /**
     * 班级名称
     */
    @ExcelField(title = "班级", order = 8)
    private String classesName;


    /**
     * image 头像
     */
    @ExcelField(title = "头像", order = 9)
    private String image;


    /**
     * email 邮箱
     */
    @ExcelField(title = "邮箱", order = 10)
    private String email;

}
